<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <head th:insert="/common/common :: commonSource('seckill page')"></head>
</head>
<body class="layui-layout-body">
<div class="main-layout" id='main-layout'>
    <input id="page-index" value="2" type="hidden">
    <div th:insert="/common/sider"></div>
    <div class="main-layout-container">
        <div th:insert="/common/header"></div>
        <!--主体内容-->
        <div class="main-layout-body">
            <!--tab 切换-->
            <div class="layui-tab layui-tab-brief main-layout-tab" lay-filter="tab"
                 lay-allowClose="true">
                <ul class="layui-tab-title">
                    <li class="layui-this welcome">seckill</li>
                </ul>
                <div class="layui-tab-content">
                    <div class="layui-tab-item layui-show">
                        <form class="layui-form" style="width: 50%;padding-top: 20px;">
                            <div class="layui-form-item">
                                <label class="layui-form-label">名称：</label>
                                <div class="layui-input-block">
                                    <input readonly="readonly" type="text" id="seckillGoodsName"
                                           autocomplete="off" class="layui-input"
                                           th:value="${seckillGoodsName}">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">数量：</label>
                                <div class="layui-input-block">
                                    <input readonly="readonly" type="text" id="seckillGoodsCount"
                                           autocomplete="off" class="layui-input"
                                           th:value="${seckillGoodsCount}">
                                </div>
                            </div>
                            <input type="hidden" id="seckillGoodsId"
                                   th:value="${seckillGoodsId}">
                            <div class="layui-form-item">
                                <div class="layui-input-block">
                                    <button class="layui-btn layui-btn-normal" type="button"
                                            id="seckillButton">抢
                                    </button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-footer">
        <div th:insert="/common/footer"></div>
    </div>
</div>
<script th:src="@{/static/js/lib/seckillDetail/seckillDetail.js}"></script>
</body>
</html>